package org.edu.modules.base.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

import org.edu.modules.base.entity.VeBaseSysMenu;
import org.edu.modules.base.entity.VeBaseSysRole;

public abstract interface IVeBaseSysMenuService extends IService<VeBaseSysMenu> {
    public abstract List<Map<String, Object>> getSysMenuTreeList(String id);

    public abstract List<JSONObject> getAllSysMenuTreeList(String roleId, String isEnable);

    public abstract Integer addSysMenu(VeBaseSysMenu veBaseSysMenu);

    public abstract VeBaseSysMenu getSysMenuByPid(Integer pid);

    public abstract int deleteByAppId(String appId);
}
